import 'package:android_studio_f/generated/json/base/json_field.dart';
import 'package:android_studio_f/generated/json/credential_list_item_entity.g.dart';
import 'dart:convert';
export 'package:android_studio_f/generated/json/credential_list_item_entity.g.dart';

@JsonSerializable()
class CredentialListItemEntity {
	late String corporateName;
	late int duration;
	late String durationUnit;
	late List<dynamic> drives;
	late int id;
	late String createAt;

	CredentialListItemEntity();

	factory CredentialListItemEntity.fromJson(Map<String, dynamic> json) => $CredentialListItemEntityFromJson(json);

	Map<String, dynamic> toJson() => $CredentialListItemEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}